Component({
  data: {},
  methods: {
    formSubmit(e: WechatMiniprogram.CustomEvent) {
      console.log("form发生了submit事件，携带数据为：", e.detail.value);
    },
    formReset(e: WechatMiniprogram.CustomEvent) {
      console.log("form发生了reset事件，携带数据为：", e.detail.value);
    },
  },
});
